package com.springcloud.service;


import com.baomidou.mybatisplus.service.IService;
import com.springcloud.commons.utils.PageInfo;
import com.springcloud.model.SysUser;
import com.springcloud.model.vo.UserVo;

import java.util.List;

/**
 *
 * SysUser 表数据服务层接口
 *
 */
public interface ISysUserService extends IService<SysUser> {

	List<SysUser> selectByLoginName(UserVo userVo);

    void insertByVo(UserVo userVo);

    UserVo selectVoById(Long id);

    UserVo selectVoByLoginName(String loginName);

    void updateByVo(UserVo userVo);

    void updatePwdByUserId(Long userId, String md5Hex);

    void selectDataGrid(PageInfo pageInfo);

    void deleteUserById(Long id);
}